package org.example.entity;


import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.sql.Date;


@Data
public class Book {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("ISBN")
    private String ISBN;
    private String name;
    private String author;
    private String press;
    private String category;
    @DateTimeFormat("yyyy-MM-dd")
    private Date publication_date;
    private int status;


}
